/**
 * 
 */
package com.cplsystems.incidencias.services;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cplsystems.incidencias.business.DatosAcademicos;
import com.cplsystems.incidencias.business.Persona;
import com.cplsystems.incidencias.dao.DatosAcademicosDAO;

/**
 * @author César Palalía López (csr.plz@aisa-automation.com)
 *
 */
@Service
public class DatosAcademicosService {

	@Autowired
	private DatosAcademicosDAO datosAcademicosDAO;

	public void save(DatosAcademicos datosAcademicos) {
		datosAcademicosDAO.save(datosAcademicos);
	}

	public List<DatosAcademicos> getDatosAcademicosByPersoa(Persona persona) {
		return datosAcademicosDAO.getDatosAcademicosByPersoa(persona);
	}
	
}
